#ifndef BASETHREAD_H
#define BASETHREAD_H
#include <pthread.h>

class BaseThread{
	public:
	~BaseThread();
    	virtual void run() = 0 ;//empty which is write in implement Class
    	static void *task(void *arg);
    	void start();	
	private:
		pthread_t pid;
};

#endif
